using Swimj.CommonLib.Attributes;

namespace Admin.CommonLib.Models.Organization
{
    public class OrganizationInfoResponseDto
    {
        public Guid Key { get; set; }

        [TableColumn(DisplayText = "组织机构编码")] public string? Code { get; set; }

        [TableColumn(DisplayText = "组织机构名称")] public string? Name { get; set; }

        [TableColumn(DisplayText = "组织机构类型")] public int Type { get; set; }

        [TableColumn(DisplayText = "所属组织机构")] public Guid? ParentId { get; set; }

        public string? Description { get; set; }
    }
}